import 'package:get/get.dart';
import 'package:projectfluttershengyihuatong/category/category.dart';
import 'package:projectfluttershengyihuatong/courseDetail/coursedetail.dart';
import 'package:projectfluttershengyihuatong/tool/player/page/home_page.dart';
import 'main.dart';
import 'login/login.dart';
List<GetPage> pages = [
  GetPage(name: "/", page: () => const MyApp(), transition: Transition.rightToLeft),
  GetPage(name: RouteNames.LOGIN, page: () => const Login(),transition: Transition.downToUp),
  GetPage(name: RouteNames.CATEGORYPAGE, page: () => CategoryPage(),transition: Transition.rightToLeft),
  GetPage(name: RouteNames.AliHomePage, page: () => HomePage(), transition: Transition.rightToLeft),
  GetPage(name: RouteNames.COURSEDETAIL, page: () => CourseDetail(), transition: Transition.rightToLeft),

];



class RouteNames {
  static const LOGIN = "/login";
  static const CATEGORYPAGE = "/CATEGORYPAGE";
  static const COURSEDETAIL = "/COURSEDETAIL";
  static const AliHomePage = "/AliHomePage";

  static const Circle = "/Circle";
  static const NewCircles = "/NewCircles";
  static const CircleDetail = "/CircleDetail";
  static const HeroDetail = "/HeroDetail";
  static const LearnDetail = "/LearnDetail";
  static const LearnFileDetail = "/LearnFileDetail";
  static const LearnVideoDetail = "/LearnVideoDetail";
  static const NormalWebView = "/NormalWebView";
  static const Message = "/message";
  static const TaskDetail = "/TaskDetail";
  static const TaskSubmit = "/TaskSubmit";
  static const LessonDetail = '/lessonDetail';
  static const TaskFinishedDetail = '/TaskFinishedDetail';
  static const LaborClassRoom = '/LaborClassRoom';
  static const LaborLessonRoom2 = '/LaborLessonRoom2';
  static const LaborClass = '/LaborClass';
  static const Test = "/Test";
  static const TestStep1 = "/TestStep1";




}